package service;

import entity.User;
import utils.Page;

import java.util.List;

public interface UserService {

    public List<User> getAll();

    public Integer deleteById(Integer id);

    public Integer add(User user);

    public Integer updateById(User user);

    public User getById(Integer id);

    public List<User> getPage(Page page,User user);

    public Integer count(User user);
}
